﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TRTCMain.Controls
{
    public partial class FullScreenButton : UserControl
    {
        public FullScreenButton()
        {
            InitializeComponent();
            pictureBox.Click += PictureBox_Click;
        }

        private void PictureBox_Click(object sender, EventArgs e)
        {
            this.OnClick(e);
        }

        public void SetImage(Image image) {
            this.pictureBox.Image = image;
        }
    }
}
